package com.infocollect.project.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.infocollect.project.api.entity.TappActinsEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (TappActins)表数据库访问层
 *
 * @author makejava
 * @since 2019-12-25 10:32:28
 */
public interface TappActinsMapper extends BaseMapper<TappActinsEntity> {

    /**
     * 根据流程模板ID 待办节点信息
     * @param processinsid
     * @return
     */
    TappActinsEntity queryTodoActins(@Param("processinsid") Long processinsid);

    /**
     * 通过实体作为筛选条件查询
     *
     * @param tappActins 实例对象
     * @return 对象列表
     */
    List<TappActinsEntity> queryAll(TappActinsEntity tappActins);
}